package com.zq.order.mapper;

import com.zq.order.dao.entity.OrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zq.order.dao.entity.OrderStatistics;
import com.zq.order.dao.vo.OrderListVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 订单 Mapper 接口
 * </p>
 *
 * @author 张乔
 * @since 2025-05-20
 */
@Mapper
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {

//查询订单统计，并返回统计结果
    OrderStatistics selectOrderStatistics(String createTime);

    //        查询订单列表，并返回特定的数据
    List<OrderListVo> selectListOrderVo(String consigneeName);
}
